<?php

return [
    'AUTOLOAD_DIR' => [
        APP_PATH,
        ROOT_PATH,
    ],

    'SQL_DEBUG' => true,

    'TEMPLATE_ENGINE' => 'Smarty',
    // 'TEMPLATE_ENGINE' => null,
    'TEMPLATE_DIR' => 'view',
    'TEMPLATE_SUFFIX' => '.tpl',
    // 'CACHE' => true,
    'CACHE' => false,
    'CACHE_TIME' => 5,

    'DEFAULT_MODULE' => 'home',
    'DEFAULT_CONTROLLER' => 'Index',
    'DEFAULT_METHOD' => 'index',

    'DB_HOST' => '127.0.0.1',
    'DB_USERNAME' => 'root',
    'DB_PASSWORD' => '123123',
    'DB_NAME' => 'blog',
    'DB_PORT' => '3306',
    'DB_SOCKET' => '/var/run/mysqld/mysqld.sock',

    'PUBLIC' => PUBLICS,
    'JS' => PUBLICS.'js'.DS,
    'CSS' => PUBLICS.'css'.DS,
    'FONT' => PUBLICS.'font'.DS,
    'IMG' => PUBLICS.'imgage'.DS,
];
